25 |
How can I determine if the giving input object is a file, folder (sample 2)
OutputDebugString(String2Psz( AsString(oDCOCX_Exontrol1:FormatABC("`The ` + fname + ` ` + ( ffolder = -1 ? `is a folder` : ( ffolder = +1 ? `is a file` : `is not found` ) ) + `.`",nil,nil,nil,"C:\Program Files\Exontrol\ExThumbnail\Sample\elogo.jpg")) )) OutputDebugString(String2Psz( AsString(oDCOCX_Exontrol1:FormatABC("`The ` + fname + ` ` + ( ffolder = -1 ? `is a folder` : ( ffolder = +1 ? `is a file` : `is not found` ) ) + `.`",nil,nil,nil,"C:\Program Files\Exontrol\ExThumbnail\Sample")) )) OutputDebugString(String2Psz( AsString(oDCOCX_Exontrol1:FormatABC("`The ` + ffile + ` ` + ( ffolder = -1 ? `is a folder` : ( ffolder = +1 ? `is a file` : `is not found` ) ) + `.`",nil,nil,nil,"C:\Program Files\Exontrol\ExThumbnail\Sample\elogo2.jpg")) )) |
24 |
Is there any function to get automatically the size of the file in KB, MB or GB
|
23 |
How can I get the size of the file (GB)
|
22 |
How can I get the size of the file (MB)
|
21 |
How can I get the size of the file (KB)
|
20 |
How can I get the size of the file (bytes)
|
19 |
How do I get the time the file was created, opened and modified
oDCOCX_Exontrol1:BeginUpdate() oDCOCX_Exontrol1:Padding := "" oDCOCX_Exontrol1:Alignment := exAlignBottomCenter oDCOCX_Exontrol1:InputFiles := "C:\Program Files\Exontrol\ExThumbnail\Sample\elogo.jpg" oDCOCX_Exontrol1:Caption := "`Created: <b><r>` + date(fcreated - bias/24/60) + `</b>` + `<br>` + `Modified: <b><r>` + date(fmodified - bias/24/60) + `</b>`+ `<br>` + `Last Opened: <r><b>` + date(fopened - bias/24/60) + `</b>`" oDCOCX_Exontrol1:SingleCaption := oDCOCX_Exontrol1:Caption oDCOCX_Exontrol1:EndUpdate() |
18 |
How can I display the date/time the file/folder was last opened
oDCOCX_Exontrol1:BeginUpdate() oDCOCX_Exontrol1:InputFiles := "C:\Program Files\Exontrol\ExThumbnail\Sample\elogo.jpg" oDCOCX_Exontrol1:Caption := "`Opened: <b>` + date(fopened - bias/24/60)" oDCOCX_Exontrol1:SingleCaption := oDCOCX_Exontrol1:Caption oDCOCX_Exontrol1:EndUpdate() |
17 |
How can I display the date/time the file/folder was last modified
|
16 |
How can I display the date/time the file/folder was created
oDCOCX_Exontrol1:BeginUpdate() oDCOCX_Exontrol1:InputFiles := "C:\Program Files\Exontrol\ExThumbnail\Sample\elogo.jpg" oDCOCX_Exontrol1:Caption := "`Created: <b>` + longdate(date(fcreated - bias/24/60)) + ` ` + time(date(fcreated - bias/24/60))" oDCOCX_Exontrol1:SingleCaption := oDCOCX_Exontrol1:Caption oDCOCX_Exontrol1:EndUpdate() |
15 |
How can I get the alternate name of the file
|
14 |
How can I get the file's extension
|
13 |
I've noticed the Caption property can use expressions, based on the file, the question is how can I use that feature without the Caption property
|
12 |
Can I determine if a file/thumbnail exists (sample 1)
|
11 |
How can I display the name of the file
|
10 |
How can I display the full name of the file
|
9 |
How can I display the index/number of files/thumbnails
|
8 |
How can I add more files ( sample 3 )
oDCOCX_Exontrol1:AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample\elogo.jpg") oDCOCX_Exontrol1:AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample\device.png") |
7 |
How can I add more files ( sample 2 )
|
6 |
How can I add more files ( sample 1 )
|
5 |
How do I clear the control's content
|
4 |
How can I add a file ( sample 3 )
|
3 |
How can I add a file ( sample 2 )
|
2 |
How can I add a file ( sample 1 )
|
1 |
How do I change the control's background color
oDCOCX_Exontrol1:BackColor := RGB(240,240,240) |